<div class=" layui-footer height120 layui-bg-cyan">
    <div class="layui-container">
       <div class="layui-row">
           <div class=" layui-col-sm12 layui-col-md12 layui-col-lg12">
            Copyright © www.lfg0613.cn All Rights Reserved. 备案号：<a style="color: #fff;" href="https://beian.miit.gov.cn/" target="_bank">渝ICP备19001545号</a>
           </div>
       </div> 
    </div>
</div>

<!-- 返回顶部 -->
<div class=" layui-fixbar" onclick="topFunction()">
    <li class="laui-fixbar-top" id="go-to-top"><i class=" layui-icon layui-icon-top" style="font-size: 40px;"></i></li>
</div>

<script>
    window.onscroll = function() {scrollFunction()};
    function scrollFunction() {
     if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
         document.getElementById("go-to-top").style.display = "list-item";
     } else {
         document.getElementById("go-to-top").style.display = "none";
     }
    }

     // 点击按钮，返回顶部
     function topFunction() {
         document.body.scrollTop = 0;
         document.documentElement.scrollTop = 0;
     }
</script>